{{$ := .}}
<style type="text/css">
.post_title {font-size: 18px;}
.post_tag {background-color: #dddddd;padding: 0 4px 0 4px;font-size:12px;margin:0 0 0 0;}
.post_tag a {color:#969696;}
</style>
<div class="row-fluid">
	<div class="block span12">
		<p class="block-heading">标签列表</p>
		<div class="block-body collapse in">
			<table class="table">
				<thead>
				<tr>
					<th>标签</th>
					<th>文章数</th>
					<th style="width:30px;">操作</th>
				</tr>
				</thead>
				<tbody>
				{{range .TagList}}
				<tr>
					<td>
						<a class="post_title" href="{{$.DomainPath}}/tag/{{.TagName}}" target="_blank">{{.TagName}}</a>
					</td>
					<td>
						<a href="{{$.DomainPath}}/admin/posts/tag/{{.TagName}}">{{.PostCnt}}</a>
					</td>
					<td>
						<a href="{{$.DomainPath}}/admin/tag/{{.TagName}}"><i class="icon-pencil"></i></a>
					</td>
				</tr>
				{{end}}
				</tbody>
			</table>
		</div>
	</div>
</div>